package com.caigou.pojo;

import com.caigou.bean.cms.entity.ArticleTitle;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;


@Data
@Document(indexName = "cms-first", type = "cms")// 加上当前注解使ES可直接复用当前模型
public class ChannelDataMobile {
    private String articleId;
    private Integer articleType;
    private String articleTitle;
    private String articleTitleImage;
    private String articleTitleImageAlt;
    private String articleTime;
    private Integer articleOutLinkStatus;
    private String articleOutLink;
    private List<ArticleTitle> articleTitleVOS;//文章多标题list对象
}
